<!-- 建筑-房屋 -->
<template>
    <div class="rightContent">
        <div class="back" @click="back"><img src="../../assets/images/monitor/back.png" /> <label>返回</label></div>
        <div class="main">11111</div>
    </div>
</template>

<script>
export default {
    components: {},
    data() {
        return {}
    },
    computed: {},
    created() {},
    methods: {
        back() {
            this.$emit("back", "elec")
        }
    }
}
</script>

<style scoped>
.main {
    height: calc(100vh - 160px);
    overflow-y: auto;
}

.rightContent {
    background-color: #fff;
    height: calc(100vh - 100px);
    margin: 10px 0;
}
.back {
    height: 20px;
    line-height: 20px;
    text-align: left;
    padding-left: 10px;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}
.back img {
    float: left;
    display: block;
    cursor: pointer;
    margin-right: 5px;
}
.back label {
    cursor: pointer;
}
</style>
